package com.training.oo;

public class Car {
	private String brand = "BMW";
	private String color = "red";
	//Alt+Shift+s快速生成set，get方法
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
}
